<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>{$t1}</h1>
	<button onclick="dl()">1</button>
	<script src="bck/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		function dl(obj)
					{
						var pwd = 12;
						var value=12;
						
							if(pwd !=value){
								alert("两次输入密码不一致") ;
								return;
							}else{
								judge=true;
							}
						
						
						
						var value1='1119018969@qq.1';
						var z=/^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/;
						var z1=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
						if(z.test(value1)||z1.test(value1)){
								judge=true;
							   }else{
								  alert('手机/邮箱错误');
								  return;
						   }
						   alert(judge);
					}
	</script>
</body>
</html>